Interface NeptunedataAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aNeptunedataAsyncClient.cancelGremlinQuery(Consumer<CancelGremlinQueryRequest.Builder> cancelGremlinQueryRequest) Cancels a Gremlin query.cancelGremlinQuery(CancelGremlinQueryRequest cancelGremlinQueryRequest) Cancels a Gremlin query.default CompletableFuture<CancelLoaderJobResponse> cancelLoaderJob(Consumer<CancelLoaderJobRequest.Builder> cancelLoaderJobRequest) Cancels a specified load job.default CompletableFuture<CancelLoaderJobResponse> cancelLoaderJob(CancelLoaderJobRequest cancelLoaderJobRequest) Cancels a specified load job.cancelMLDataProcessingJob(Consumer<CancelMlDataProcessingJobRequest.Builder> cancelMlDataProcessingJobRequest) Cancels a Neptune ML data processing job.cancelMLDataProcessingJob(CancelMlDataProcessingJobRequest cancelMlDataProcessingJobRequest) Cancels a Neptune ML data processing job.cancelMLModelTrainingJob(Consumer<CancelMlModelTrainingJobRequest.Builder> cancelMlModelTrainingJobRequest) Cancels a Neptune ML model training job.cancelMLModelTrainingJob(CancelMlModelTrainingJobRequest cancelMlModelTrainingJobRequest) Cancels a Neptune ML model training job.cancelMLModelTransformJob(Consumer<CancelMlModelTransformJobRequest.Builder> cancelMlModelTransformJobRequest) Cancels a specified model transform job.cancelMLModelTransformJob(CancelMlModelTransformJobRequest cancelMlModelTransformJobRequest) Cancels a specified model transform job.cancelOpenCypherQuery(Consumer<CancelOpenCypherQueryRequest.Builder> cancelOpenCypherQueryRequest) Cancels a specified openCypher query.cancelOpenCypherQuery(CancelOpenCypherQueryRequest cancelOpenCypherQueryRequest) Cancels a specified openCypher query.static NeptunedataAsyncClientcreate()Create aNeptunedataAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createMLEndpoint(Consumer<CreateMlEndpointRequest.Builder> createMlEndpointRequest) Creates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed.createMLEndpoint(CreateMlEndpointRequest createMlEndpointRequest) Creates a new Neptune ML inference endpoint that lets you query one specific model that the model-training process constructed.deleteMLEndpoint(Consumer<DeleteMlEndpointRequest.Builder> deleteMlEndpointRequest) Cancels the creation of a Neptune ML inference endpoint.deleteMLEndpoint(DeleteMlEndpointRequest deleteMlEndpointRequest) Cancels the creation of a Neptune ML inference endpoint.deletePropertygraphStatistics(Consumer<DeletePropertygraphStatisticsRequest.Builder> deletePropertygraphStatisticsRequest) Deletes statistics for Gremlin and openCypher (property graph) data.deletePropertygraphStatistics(DeletePropertygraphStatisticsRequest deletePropertygraphStatisticsRequest) Deletes statistics for Gremlin and openCypher (property graph) data.deleteSparqlStatistics(Consumer<DeleteSparqlStatisticsRequest.Builder> deleteSparqlStatisticsRequest) Deletes SPARQL statisticsdeleteSparqlStatistics(DeleteSparqlStatisticsRequest deleteSparqlStatisticsRequest) Deletes SPARQL statisticsexecuteFastReset(Consumer<ExecuteFastResetRequest.Builder> executeFastResetRequest) The fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data.executeFastReset(ExecuteFastResetRequest executeFastResetRequest) The fast reset REST API lets you reset a Neptune graph quicky and easily, removing all of its data.executeGremlinExplainQuery(Consumer<ExecuteGremlinExplainQueryRequest.Builder> executeGremlinExplainQueryRequest) Executes a Gremlin Explain query.executeGremlinExplainQuery(ExecuteGremlinExplainQueryRequest executeGremlinExplainQueryRequest) Executes a Gremlin Explain query.executeGremlinProfileQuery(Consumer<ExecuteGremlinProfileQueryRequest.Builder> executeGremlinProfileQueryRequest) Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output.executeGremlinProfileQuery(ExecuteGremlinProfileQueryRequest executeGremlinProfileQueryRequest) Executes a Gremlin Profile query, which runs a specified traversal, collects various metrics about the run, and produces a profile report as output.executeGremlinQuery(Consumer<ExecuteGremlinQueryRequest.Builder> executeGremlinQueryRequest) This commands executes a Gremlin query.executeGremlinQuery(ExecuteGremlinQueryRequest executeGremlinQueryRequest) This commands executes a Gremlin query.executeOpenCypherExplainQuery(Consumer<ExecuteOpenCypherExplainQueryRequest.Builder> executeOpenCypherExplainQueryRequest) Executes an openCypherexplainrequest.executeOpenCypherExplainQuery(ExecuteOpenCypherExplainQueryRequest executeOpenCypherExplainQueryRequest) Executes an openCypherexplainrequest.executeOpenCypherQuery(Consumer<ExecuteOpenCypherQueryRequest.Builder> executeOpenCypherQueryRequest) Executes an openCypher query.executeOpenCypherQuery(ExecuteOpenCypherQueryRequest executeOpenCypherQueryRequest) Executes an openCypher query.default CompletableFuture<GetEngineStatusResponse> getEngineStatus(Consumer<GetEngineStatusRequest.Builder> getEngineStatusRequest) Retrieves the status of the graph database on the host.default CompletableFuture<GetEngineStatusResponse> getEngineStatus(GetEngineStatusRequest getEngineStatusRequest) Retrieves the status of the graph database on the host.getGremlinQueryStatus(Consumer<GetGremlinQueryStatusRequest.Builder> getGremlinQueryStatusRequest) Gets the status of a specified Gremlin query.getGremlinQueryStatus(GetGremlinQueryStatusRequest getGremlinQueryStatusRequest) Gets the status of a specified Gremlin query.getLoaderJobStatus(Consumer<GetLoaderJobStatusRequest.Builder> getLoaderJobStatusRequest) Gets status information about a specified load job.getLoaderJobStatus(GetLoaderJobStatusRequest getLoaderJobStatusRequest) Gets status information about a specified load job.getMLDataProcessingJob(Consumer<GetMlDataProcessingJobRequest.Builder> getMlDataProcessingJobRequest) Retrieves information about a specified data processing job.getMLDataProcessingJob(GetMlDataProcessingJobRequest getMlDataProcessingJobRequest) Retrieves information about a specified data processing job.default CompletableFuture<GetMlEndpointResponse> getMLEndpoint(Consumer<GetMlEndpointRequest.Builder> getMlEndpointRequest) Retrieves details about an inference endpoint.default CompletableFuture<GetMlEndpointResponse> getMLEndpoint(GetMlEndpointRequest getMlEndpointRequest) Retrieves details about an inference endpoint.getMLModelTrainingJob(Consumer<GetMlModelTrainingJobRequest.Builder> getMlModelTrainingJobRequest) Retrieves information about a Neptune ML model training job.getMLModelTrainingJob(GetMlModelTrainingJobRequest getMlModelTrainingJobRequest) Retrieves information about a Neptune ML model training job.getMLModelTransformJob(Consumer<GetMlModelTransformJobRequest.Builder> getMlModelTransformJobRequest) Gets information about a specified model transform job.getMLModelTransformJob(GetMlModelTransformJobRequest getMlModelTransformJobRequest) Gets information about a specified model transform job.getOpenCypherQueryStatus(Consumer<GetOpenCypherQueryStatusRequest.Builder> getOpenCypherQueryStatusRequest) Retrieves the status of a specified openCypher query.getOpenCypherQueryStatus(GetOpenCypherQueryStatusRequest getOpenCypherQueryStatusRequest) Retrieves the status of a specified openCypher query.getPropertygraphStatistics(Consumer<GetPropertygraphStatisticsRequest.Builder> getPropertygraphStatisticsRequest) Gets property graph statistics (Gremlin and openCypher).getPropertygraphStatistics(GetPropertygraphStatisticsRequest getPropertygraphStatisticsRequest) Gets property graph statistics (Gremlin and openCypher).getPropertygraphStream(Consumer<GetPropertygraphStreamRequest.Builder> getPropertygraphStreamRequest) Gets a stream for a property graph.getPropertygraphStream(GetPropertygraphStreamRequest getPropertygraphStreamRequest) Gets a stream for a property graph.getPropertygraphSummary(Consumer<GetPropertygraphSummaryRequest.Builder> getPropertygraphSummaryRequest) Gets a graph summary for a property graph.getPropertygraphSummary(GetPropertygraphSummaryRequest getPropertygraphSummaryRequest) Gets a graph summary for a property graph.getRDFGraphSummary(Consumer<GetRdfGraphSummaryRequest.Builder> getRdfGraphSummaryRequest) Gets a graph summary for an RDF graph.getRDFGraphSummary(GetRdfGraphSummaryRequest getRdfGraphSummaryRequest) Gets a graph summary for an RDF graph.getSparqlStatistics(Consumer<GetSparqlStatisticsRequest.Builder> getSparqlStatisticsRequest) Gets RDF statistics (SPARQL).getSparqlStatistics(GetSparqlStatisticsRequest getSparqlStatisticsRequest) Gets RDF statistics (SPARQL).default CompletableFuture<GetSparqlStreamResponse> getSparqlStream(Consumer<GetSparqlStreamRequest.Builder> getSparqlStreamRequest) Gets a stream for an RDF graph.default CompletableFuture<GetSparqlStreamResponse> getSparqlStream(GetSparqlStreamRequest getSparqlStreamRequest) Gets a stream for an RDF graph.listGremlinQueries(Consumer<ListGremlinQueriesRequest.Builder> listGremlinQueriesRequest) Lists active Gremlin queries.listGremlinQueries(ListGremlinQueriesRequest listGremlinQueriesRequest) Lists active Gremlin queries.default CompletableFuture<ListLoaderJobsResponse> listLoaderJobs(Consumer<ListLoaderJobsRequest.Builder> listLoaderJobsRequest) Retrieves a list of theloadIdsfor all active loader jobs.default CompletableFuture<ListLoaderJobsResponse> listLoaderJobs(ListLoaderJobsRequest listLoaderJobsRequest) Retrieves a list of theloadIdsfor all active loader jobs.listMLDataProcessingJobs(Consumer<ListMlDataProcessingJobsRequest.Builder> listMlDataProcessingJobsRequest) Returns a list of Neptune ML data processing jobs.listMLDataProcessingJobs(ListMlDataProcessingJobsRequest listMlDataProcessingJobsRequest) Returns a list of Neptune ML data processing jobs.default CompletableFuture<ListMlEndpointsResponse> listMLEndpoints(Consumer<ListMlEndpointsRequest.Builder> listMlEndpointsRequest) Lists existing inference endpoints.default CompletableFuture<ListMlEndpointsResponse> listMLEndpoints(ListMlEndpointsRequest listMlEndpointsRequest) Lists existing inference endpoints.listMLModelTrainingJobs(Consumer<ListMlModelTrainingJobsRequest.Builder> listMlModelTrainingJobsRequest) Lists Neptune ML model-training jobs.listMLModelTrainingJobs(ListMlModelTrainingJobsRequest listMlModelTrainingJobsRequest) Lists Neptune ML model-training jobs.listMLModelTransformJobs(Consumer<ListMlModelTransformJobsRequest.Builder> listMlModelTransformJobsRequest) Returns a list of model transform job IDs.listMLModelTransformJobs(ListMlModelTransformJobsRequest listMlModelTransformJobsRequest) Returns a list of model transform job IDs.listOpenCypherQueries(Consumer<ListOpenCypherQueriesRequest.Builder> listOpenCypherQueriesRequest) Lists active openCypher queries.listOpenCypherQueries(ListOpenCypherQueriesRequest listOpenCypherQueriesRequest) Lists active openCypher queries.managePropertygraphStatistics(Consumer<ManagePropertygraphStatisticsRequest.Builder> managePropertygraphStatisticsRequest) Manages the generation and use of property graph statistics.managePropertygraphStatistics(ManagePropertygraphStatisticsRequest managePropertygraphStatisticsRequest) Manages the generation and use of property graph statistics.manageSparqlStatistics(Consumer<ManageSparqlStatisticsRequest.Builder> manageSparqlStatisticsRequest) Manages the generation and use of RDF graph statistics.manageSparqlStatistics(ManageSparqlStatisticsRequest manageSparqlStatisticsRequest) Manages the generation and use of RDF graph statistics.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartLoaderJobResponse> startLoaderJob(Consumer<StartLoaderJobRequest.Builder> startLoaderJobRequest) Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance.default CompletableFuture<StartLoaderJobResponse> startLoaderJob(StartLoaderJobRequest startLoaderJobRequest) Starts a Neptune bulk loader job to load data from an Amazon S3 bucket into a Neptune DB instance.startMLDataProcessingJob(Consumer<StartMlDataProcessingJobRequest.Builder> startMlDataProcessingJobRequest) Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training.startMLDataProcessingJob(StartMlDataProcessingJobRequest startMlDataProcessingJobRequest) Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training.startMLModelTrainingJob(Consumer<StartMlModelTrainingJobRequest.Builder> startMlModelTrainingJobRequest) Creates a new Neptune ML model training job.startMLModelTrainingJob(StartMlModelTrainingJobRequest startMlModelTrainingJobRequest) Creates a new Neptune ML model training job.startMLModelTransformJob(Consumer<StartMlModelTransformJobRequest.Builder> startMlModelTransformJobRequest) Creates a new model transform job.startMLModelTransformJob(StartMlModelTransformJobRequest startMlModelTransformJobRequest) Creates a new model transform job.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
cancelGremlinQuery
default CompletableFuture<CancelGremlinQueryResponse> cancelGremlinQuery(CancelGremlinQueryRequest cancelGremlinQueryRequest) 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.
- Parameters:
cancelGremlinQueryRequest-- Returns:
- A Java Future containing the result of the CancelGremlinQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelGremlinQuery
default CompletableFuture<CancelGremlinQueryResponse> cancelGremlinQuery(Consumer<CancelGremlinQueryRequest.Builder> cancelGremlinQueryRequest) 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.
This is a convenience which creates an instance of the
CancelGremlinQueryRequest.Builderavoiding the need to create one manually viaCancelGremlinQueryRequest.builder()- Parameters:
cancelGremlinQueryRequest- AConsumerthat will call methods onCancelGremlinQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelGremlinQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelLoaderJob
default CompletableFuture<CancelLoaderJobResponse> cancelLoaderJob(CancelLoaderJobRequest cancelLoaderJobRequest) Cancels a specified load job. This is an HTTP
DELETErequest. 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..
- Parameters:
cancelLoaderJobRequest-- Returns:
- A Java Future containing the result of the CancelLoaderJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelLoaderJob
default CompletableFuture<CancelLoaderJobResponse> cancelLoaderJob(Consumer<CancelLoaderJobRequest.Builder> cancelLoaderJobRequest) Cancels a specified load job. This is an HTTP
DELETErequest. 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..
This is a convenience which creates an instance of the
CancelLoaderJobRequest.Builderavoiding the need to create one manually viaCancelLoaderJobRequest.builder()- Parameters:
cancelLoaderJobRequest- AConsumerthat will call methods onCancelLoaderJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelLoaderJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMLDataProcessingJob
default CompletableFuture<CancelMlDataProcessingJobResponse> cancelMLDataProcessingJob(CancelMlDataProcessingJobRequest cancelMlDataProcessingJobRequest) Cancels a Neptune ML data processing job. See The
dataprocessingcommand.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.
- Parameters:
cancelMlDataProcessingJobRequest-- Returns:
- A Java Future containing the result of the CancelMLDataProcessingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMLDataProcessingJob
default CompletableFuture<CancelMlDataProcessingJobResponse> cancelMLDataProcessingJob(Consumer<CancelMlDataProcessingJobRequest.Builder> cancelMlDataProcessingJobRequest) Cancels a Neptune ML data processing job. See The
dataprocessingcommand.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.
This is a convenience which creates an instance of the
CancelMlDataProcessingJobRequest.Builderavoiding the need to create one manually viaCancelMlDataProcessingJobRequest.builder()- Parameters:
cancelMlDataProcessingJobRequest- AConsumerthat will call methods onCancelMlDataProcessingJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelMLDataProcessingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMLModelTrainingJob
default CompletableFuture<CancelMlModelTrainingJobResponse> cancelMLModelTrainingJob(CancelMlModelTrainingJobRequest cancelMlModelTrainingJobRequest) Cancels a Neptune ML model training job. See Model training using the
modeltrainingcommand.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.
- Parameters:
cancelMlModelTrainingJobRequest-- Returns:
- A Java Future containing the result of the CancelMLModelTrainingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMLModelTrainingJob
default CompletableFuture<CancelMlModelTrainingJobResponse> cancelMLModelTrainingJob(Consumer<CancelMlModelTrainingJobRequest.Builder> cancelMlModelTrainingJobRequest) Cancels a Neptune ML model training job. See Model training using the
modeltrainingcommand.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.
This is a convenience which creates an instance of the
CancelMlModelTrainingJobRequest.Builderavoiding the need to create one manually viaCancelMlModelTrainingJobRequest.builder()- Parameters:
cancelMlModelTrainingJobRequest- AConsumerthat will call methods onCancelMlModelTrainingJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelMLModelTrainingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMLModelTransformJob
default CompletableFuture<CancelMlModelTransformJobResponse> cancelMLModelTransformJob(CancelMlModelTransformJobRequest cancelMlModelTransformJobRequest) 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.
- Parameters:
cancelMlModelTransformJobRequest-- Returns:
- A Java Future containing the result of the CancelMLModelTransformJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMLModelTransformJob
default CompletableFuture<CancelMlModelTransformJobResponse> cancelMLModelTransformJob(Consumer<CancelMlModelTransformJobRequest.Builder> cancelMlModelTransformJobRequest) 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.
This is a convenience which creates an instance of the
CancelMlModelTransformJobRequest.Builderavoiding the need to create one manually viaCancelMlModelTransformJobRequest.builder()- Parameters:
cancelMlModelTransformJobRequest- AConsumerthat will call methods onCancelMlModelTransformJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelMLModelTransformJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelOpenCypherQuery
default CompletableFuture<CancelOpenCypherQueryResponse> cancelOpenCypherQuery(CancelOpenCypherQueryRequest cancelOpenCypherQueryRequest) 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.
- Parameters:
cancelOpenCypherQueryRequest-- Returns:
- A Java Future containing the result of the CancelOpenCypherQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelOpenCypherQuery
default CompletableFuture<CancelOpenCypherQueryResponse> cancelOpenCypherQuery(Consumer<CancelOpenCypherQueryRequest.Builder> cancelOpenCypherQueryRequest) 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.
This is a convenience which creates an instance of the
CancelOpenCypherQueryRequest.Builderavoiding the need to create one manually viaCancelOpenCypherQueryRequest.builder()- Parameters:
cancelOpenCypherQueryRequest- AConsumerthat will call methods onCancelOpenCypherQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelOpenCypherQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMLEndpoint
default CompletableFuture<CreateMlEndpointResponse> createMLEndpoint(CreateMlEndpointRequest createMlEndpointRequest) 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.
- Parameters:
createMlEndpointRequest-- Returns:
- A Java Future containing the result of the CreateMLEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMLEndpoint
default CompletableFuture<CreateMlEndpointResponse> createMLEndpoint(Consumer<CreateMlEndpointRequest.Builder> createMlEndpointRequest) 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.
This is a convenience which creates an instance of the
CreateMlEndpointRequest.Builderavoiding the need to create one manually viaCreateMlEndpointRequest.builder()- Parameters:
createMlEndpointRequest- AConsumerthat will call methods onCreateMlEndpointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateMLEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMLEndpoint
default CompletableFuture<DeleteMlEndpointResponse> deleteMLEndpoint(DeleteMlEndpointRequest deleteMlEndpointRequest) 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.
- Parameters:
deleteMlEndpointRequest-- Returns:
- A Java Future containing the result of the DeleteMLEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMLEndpoint
default CompletableFuture<DeleteMlEndpointResponse> deleteMLEndpoint(Consumer<DeleteMlEndpointRequest.Builder> deleteMlEndpointRequest) 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.
This is a convenience which creates an instance of the
DeleteMlEndpointRequest.Builderavoiding the need to create one manually viaDeleteMlEndpointRequest.builder()- Parameters:
deleteMlEndpointRequest- AConsumerthat will call methods onDeleteMlEndpointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteMLEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePropertygraphStatistics
default CompletableFuture<DeletePropertygraphStatisticsResponse> deletePropertygraphStatistics(DeletePropertygraphStatisticsRequest deletePropertygraphStatisticsRequest) 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.
- Parameters:
deletePropertygraphStatisticsRequest-- Returns:
- A Java Future containing the result of the DeletePropertygraphStatistics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePropertygraphStatistics
default CompletableFuture<DeletePropertygraphStatisticsResponse> deletePropertygraphStatistics(Consumer<DeletePropertygraphStatisticsRequest.Builder> deletePropertygraphStatisticsRequest) 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.
This is a convenience which creates an instance of the
DeletePropertygraphStatisticsRequest.Builderavoiding the need to create one manually viaDeletePropertygraphStatisticsRequest.builder()- Parameters:
deletePropertygraphStatisticsRequest- AConsumerthat will call methods onDeletePropertygraphStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePropertygraphStatistics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSparqlStatistics
default CompletableFuture<DeleteSparqlStatisticsResponse> deleteSparqlStatistics(DeleteSparqlStatisticsRequest deleteSparqlStatisticsRequest) 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.
- Parameters:
deleteSparqlStatisticsRequest-- Returns:
- A Java Future containing the result of the DeleteSparqlStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSparqlStatistics
default CompletableFuture<DeleteSparqlStatisticsResponse> deleteSparqlStatistics(Consumer<DeleteSparqlStatisticsRequest.Builder> deleteSparqlStatisticsRequest) 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.
This is a convenience which creates an instance of the
DeleteSparqlStatisticsRequest.Builderavoiding the need to create one manually viaDeleteSparqlStatisticsRequest.builder()- Parameters:
deleteSparqlStatisticsRequest- AConsumerthat will call methods onDeleteSparqlStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSparqlStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeFastReset
default CompletableFuture<ExecuteFastResetResponse> executeFastReset(ExecuteFastResetRequest executeFastResetRequest) 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
ExecuteFastResetwithactionset toinitiateDatabaseReset. This returns a UUID token which you then include when callingExecuteFastResetagain withactionset toperformDatabaseReset. 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.
- Parameters:
executeFastResetRequest-- Returns:
- A Java Future containing the result of the ExecuteFastReset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- ServerShutdownException Raised when the server shuts down while processing a request.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MethodNotAllowedException Raised when the HTTP method used by a request is not supported by the endpoint being used.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeFastReset
default CompletableFuture<ExecuteFastResetResponse> executeFastReset(Consumer<ExecuteFastResetRequest.Builder> executeFastResetRequest) 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
ExecuteFastResetwithactionset toinitiateDatabaseReset. This returns a UUID token which you then include when callingExecuteFastResetagain withactionset toperformDatabaseReset. 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.
This is a convenience which creates an instance of the
ExecuteFastResetRequest.Builderavoiding the need to create one manually viaExecuteFastResetRequest.builder()- Parameters:
executeFastResetRequest- AConsumerthat will call methods onExecuteFastResetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteFastReset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- ServerShutdownException Raised when the server shuts down while processing a request.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MethodNotAllowedException Raised when the HTTP method used by a request is not supported by the endpoint being used.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeGremlinExplainQuery
default CompletableFuture<ExecuteGremlinExplainQueryResponse> executeGremlinExplainQuery(ExecuteGremlinExplainQueryRequest executeGremlinExplainQueryRequest) Executes a Gremlin Explain query.
Amazon Neptune has added a Gremlin feature named
explainthat 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 anexplainparameter 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).
- Parameters:
executeGremlinExplainQueryRequest-- Returns:
- A Java Future containing the result of the ExecuteGremlinExplainQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeGremlinExplainQuery
default CompletableFuture<ExecuteGremlinExplainQueryResponse> executeGremlinExplainQuery(Consumer<ExecuteGremlinExplainQueryRequest.Builder> executeGremlinExplainQueryRequest) Executes a Gremlin Explain query.
Amazon Neptune has added a Gremlin feature named
explainthat 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 anexplainparameter 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).
This is a convenience which creates an instance of the
ExecuteGremlinExplainQueryRequest.Builderavoiding the need to create one manually viaExecuteGremlinExplainQueryRequest.builder()- Parameters:
executeGremlinExplainQueryRequest- AConsumerthat will call methods onExecuteGremlinExplainQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteGremlinExplainQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeGremlinProfileQuery
default CompletableFuture<ExecuteGremlinProfileQueryResponse> executeGremlinProfileQuery(ExecuteGremlinProfileQueryRequest executeGremlinProfileQueryRequest) 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).
- Parameters:
executeGremlinProfileQueryRequest-- Returns:
- A Java Future containing the result of the ExecuteGremlinProfileQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeGremlinProfileQuery
default CompletableFuture<ExecuteGremlinProfileQueryResponse> executeGremlinProfileQuery(Consumer<ExecuteGremlinProfileQueryRequest.Builder> executeGremlinProfileQueryRequest) 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).
This is a convenience which creates an instance of the
ExecuteGremlinProfileQueryRequest.Builderavoiding the need to create one manually viaExecuteGremlinProfileQueryRequest.builder()- Parameters:
executeGremlinProfileQueryRequest- AConsumerthat will call methods onExecuteGremlinProfileQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteGremlinProfileQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeGremlinQuery
default CompletableFuture<ExecuteGremlinQueryResponse> executeGremlinQuery(ExecuteGremlinQueryRequest executeGremlinQueryRequest) 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).
- Parameters:
executeGremlinQueryRequest-- Returns:
- A Java Future containing the result of the ExecuteGremlinQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeGremlinQuery
default CompletableFuture<ExecuteGremlinQueryResponse> executeGremlinQuery(Consumer<ExecuteGremlinQueryRequest.Builder> executeGremlinQueryRequest) 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).
This is a convenience which creates an instance of the
ExecuteGremlinQueryRequest.Builderavoiding the need to create one manually viaExecuteGremlinQueryRequest.builder()- Parameters:
executeGremlinQueryRequest- AConsumerthat will call methods onExecuteGremlinQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteGremlinQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeOpenCypherExplainQuery
default CompletableFuture<ExecuteOpenCypherExplainQueryResponse> executeOpenCypherExplainQuery(ExecuteOpenCypherExplainQueryRequest executeOpenCypherExplainQueryRequest) Executes an openCypher
explainrequest. 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).
- Parameters:
executeOpenCypherExplainQueryRequest-- Returns:
- A Java Future containing the result of the ExecuteOpenCypherExplainQuery operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeOpenCypherExplainQuery
default CompletableFuture<ExecuteOpenCypherExplainQueryResponse> executeOpenCypherExplainQuery(Consumer<ExecuteOpenCypherExplainQueryRequest.Builder> executeOpenCypherExplainQueryRequest) Executes an openCypher
explainrequest. 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).
This is a convenience which creates an instance of the
ExecuteOpenCypherExplainQueryRequest.Builderavoiding the need to create one manually viaExecuteOpenCypherExplainQueryRequest.builder()- Parameters:
executeOpenCypherExplainQueryRequest- AConsumerthat will call methods onExecuteOpenCypherExplainQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteOpenCypherExplainQuery operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeOpenCypherQuery
default CompletableFuture<ExecuteOpenCypherQueryResponse> executeOpenCypherQuery(ExecuteOpenCypherQueryRequest executeOpenCypherQueryRequest) 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).
- Parameters:
executeOpenCypherQueryRequest-- Returns:
- A Java Future containing the result of the ExecuteOpenCypherQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
executeOpenCypherQuery
default CompletableFuture<ExecuteOpenCypherQueryResponse> executeOpenCypherQuery(Consumer<ExecuteOpenCypherQueryRequest.Builder> executeOpenCypherQueryRequest) 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).
This is a convenience which creates an instance of the
ExecuteOpenCypherQueryRequest.Builderavoiding the need to create one manually viaExecuteOpenCypherQueryRequest.builder()- Parameters:
executeOpenCypherQueryRequest- AConsumerthat will call methods onExecuteOpenCypherQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExecuteOpenCypherQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- QueryTooLargeException Raised when the body of a query is too large.
- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- QueryLimitExceededException Raised when the number of active queries exceeds what the server can process. The query in question can be retried when the system is less busy.
- InvalidParameterException Raised when a parameter value is not valid.
- QueryLimitException Raised when the size of a query exceeds the system limit.
- ClientTimeoutException Raised when a request timed out in the client.
- CancelledByUserException Raised when a user cancelled a request.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- MalformedQueryException Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
- ParsingException Raised when a parsing issue is encountered.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEngineStatus
default CompletableFuture<GetEngineStatusResponse> getEngineStatus(GetEngineStatusRequest getEngineStatusRequest) 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.
- Parameters:
getEngineStatusRequest-- Returns:
- A Java Future containing the result of the GetEngineStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEngineStatus
default CompletableFuture<GetEngineStatusResponse> getEngineStatus(Consumer<GetEngineStatusRequest.Builder> getEngineStatusRequest) 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.
This is a convenience which creates an instance of the
GetEngineStatusRequest.Builderavoiding the need to create one manually viaGetEngineStatusRequest.builder()- Parameters:
getEngineStatusRequest- AConsumerthat will call methods onGetEngineStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEngineStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGremlinQueryStatus
default CompletableFuture<GetGremlinQueryStatusResponse> getGremlinQueryStatus(GetGremlinQueryStatusRequest getGremlinQueryStatusRequest) 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).
- Parameters:
getGremlinQueryStatusRequest-- Returns:
- A Java Future containing the result of the GetGremlinQueryStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGremlinQueryStatus
default CompletableFuture<GetGremlinQueryStatusResponse> getGremlinQueryStatus(Consumer<GetGremlinQueryStatusRequest.Builder> getGremlinQueryStatusRequest) 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).
This is a convenience which creates an instance of the
GetGremlinQueryStatusRequest.Builderavoiding the need to create one manually viaGetGremlinQueryStatusRequest.builder()- Parameters:
getGremlinQueryStatusRequest- AConsumerthat will call methods onGetGremlinQueryStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetGremlinQueryStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLoaderJobStatus
default CompletableFuture<GetLoaderJobStatusResponse> getLoaderJobStatus(GetLoaderJobStatusRequest getLoaderJobStatusRequest) 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..
- Parameters:
getLoaderJobStatusRequest-- Returns:
- A Java Future containing the result of the GetLoaderJobStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLoaderJobStatus
default CompletableFuture<GetLoaderJobStatusResponse> getLoaderJobStatus(Consumer<GetLoaderJobStatusRequest.Builder> getLoaderJobStatusRequest) 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..
This is a convenience which creates an instance of the
GetLoaderJobStatusRequest.Builderavoiding the need to create one manually viaGetLoaderJobStatusRequest.builder()- Parameters:
getLoaderJobStatusRequest- AConsumerthat will call methods onGetLoaderJobStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetLoaderJobStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLDataProcessingJob
default CompletableFuture<GetMlDataProcessingJobResponse> getMLDataProcessingJob(GetMlDataProcessingJobRequest getMlDataProcessingJobRequest) Retrieves information about a specified data processing job. See The
dataprocessingcommand.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.
- Parameters:
getMlDataProcessingJobRequest-- Returns:
- A Java Future containing the result of the GetMLDataProcessingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLDataProcessingJob
default CompletableFuture<GetMlDataProcessingJobResponse> getMLDataProcessingJob(Consumer<GetMlDataProcessingJobRequest.Builder> getMlDataProcessingJobRequest) Retrieves information about a specified data processing job. See The
dataprocessingcommand.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.
This is a convenience which creates an instance of the
GetMlDataProcessingJobRequest.Builderavoiding the need to create one manually viaGetMlDataProcessingJobRequest.builder()- Parameters:
getMlDataProcessingJobRequest- AConsumerthat will call methods onGetMlDataProcessingJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMLDataProcessingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLEndpoint
default CompletableFuture<GetMlEndpointResponse> getMLEndpoint(GetMlEndpointRequest getMlEndpointRequest) 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.
- Parameters:
getMlEndpointRequest-- Returns:
- A Java Future containing the result of the GetMLEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLEndpoint
default CompletableFuture<GetMlEndpointResponse> getMLEndpoint(Consumer<GetMlEndpointRequest.Builder> getMlEndpointRequest) 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.
This is a convenience which creates an instance of the
GetMlEndpointRequest.Builderavoiding the need to create one manually viaGetMlEndpointRequest.builder()- Parameters:
getMlEndpointRequest- AConsumerthat will call methods onGetMlEndpointRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMLEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLModelTrainingJob
default CompletableFuture<GetMlModelTrainingJobResponse> getMLModelTrainingJob(GetMlModelTrainingJobRequest getMlModelTrainingJobRequest) Retrieves information about a Neptune ML model training job. See Model training using the
modeltrainingcommand.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.
- Parameters:
getMlModelTrainingJobRequest-- Returns:
- A Java Future containing the result of the GetMLModelTrainingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLModelTrainingJob
default CompletableFuture<GetMlModelTrainingJobResponse> getMLModelTrainingJob(Consumer<GetMlModelTrainingJobRequest.Builder> getMlModelTrainingJobRequest) Retrieves information about a Neptune ML model training job. See Model training using the
modeltrainingcommand.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.
This is a convenience which creates an instance of the
GetMlModelTrainingJobRequest.Builderavoiding the need to create one manually viaGetMlModelTrainingJobRequest.builder()- Parameters:
getMlModelTrainingJobRequest- AConsumerthat will call methods onGetMlModelTrainingJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMLModelTrainingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLModelTransformJob
default CompletableFuture<GetMlModelTransformJobResponse> getMLModelTransformJob(GetMlModelTransformJobRequest getMlModelTransformJobRequest) 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.
- Parameters:
getMlModelTransformJobRequest-- Returns:
- A Java Future containing the result of the GetMLModelTransformJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMLModelTransformJob
default CompletableFuture<GetMlModelTransformJobResponse> getMLModelTransformJob(Consumer<GetMlModelTransformJobRequest.Builder> getMlModelTransformJobRequest) 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.
This is a convenience which creates an instance of the
GetMlModelTransformJobRequest.Builderavoiding the need to create one manually viaGetMlModelTransformJobRequest.builder()- Parameters:
getMlModelTransformJobRequest- AConsumerthat will call methods onGetMlModelTransformJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMLModelTransformJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOpenCypherQueryStatus
default CompletableFuture<GetOpenCypherQueryStatusResponse> getOpenCypherQueryStatus(GetOpenCypherQueryStatusRequest getOpenCypherQueryStatusRequest) 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).
- Parameters:
getOpenCypherQueryStatusRequest-- Returns:
- A Java Future containing the result of the GetOpenCypherQueryStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOpenCypherQueryStatus
default CompletableFuture<GetOpenCypherQueryStatusResponse> getOpenCypherQueryStatus(Consumer<GetOpenCypherQueryStatusRequest.Builder> getOpenCypherQueryStatusRequest) 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).
This is a convenience which creates an instance of the
GetOpenCypherQueryStatusRequest.Builderavoiding the need to create one manually viaGetOpenCypherQueryStatusRequest.builder()- Parameters:
getOpenCypherQueryStatusRequest- AConsumerthat will call methods onGetOpenCypherQueryStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetOpenCypherQueryStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPropertygraphStatistics
default CompletableFuture<GetPropertygraphStatisticsResponse> getPropertygraphStatistics(GetPropertygraphStatisticsRequest getPropertygraphStatisticsRequest) 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.
- Parameters:
getPropertygraphStatisticsRequest-- Returns:
- A Java Future containing the result of the GetPropertygraphStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPropertygraphStatistics
default CompletableFuture<GetPropertygraphStatisticsResponse> getPropertygraphStatistics(Consumer<GetPropertygraphStatisticsRequest.Builder> getPropertygraphStatisticsRequest) 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.
This is a convenience which creates an instance of the
GetPropertygraphStatisticsRequest.Builderavoiding the need to create one manually viaGetPropertygraphStatisticsRequest.builder()- Parameters:
getPropertygraphStatisticsRequest- AConsumerthat will call methods onGetPropertygraphStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPropertygraphStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPropertygraphStream
default CompletableFuture<GetPropertygraphStreamResponse> getPropertygraphStream(GetPropertygraphStreamRequest getPropertygraphStreamRequest) 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.
GetPropertygraphStreamlets 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).
- Parameters:
getPropertygraphStreamRequest-- Returns:
- A Java Future containing the result of the GetPropertygraphStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- ExpiredStreamException Raised when a request attempts to access an stream that has expired.
- InvalidParameterException Raised when a parameter value is not valid.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- StreamRecordsNotFoundException Raised when stream records requested by a query cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ThrottlingException Raised when the rate of requests exceeds the maximum throughput. Requests can be retried after encountering this exception.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPropertygraphStream
default CompletableFuture<GetPropertygraphStreamResponse> getPropertygraphStream(Consumer<GetPropertygraphStreamRequest.Builder> getPropertygraphStreamRequest) 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.
GetPropertygraphStreamlets 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).
This is a convenience which creates an instance of the
GetPropertygraphStreamRequest.Builderavoiding the need to create one manually viaGetPropertygraphStreamRequest.builder()- Parameters:
getPropertygraphStreamRequest- AConsumerthat will call methods onGetPropertygraphStreamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPropertygraphStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- ExpiredStreamException Raised when a request attempts to access an stream that has expired.
- InvalidParameterException Raised when a parameter value is not valid.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- StreamRecordsNotFoundException Raised when stream records requested by a query cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ThrottlingException Raised when the rate of requests exceeds the maximum throughput. Requests can be retried after encountering this exception.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPropertygraphSummary
default CompletableFuture<GetPropertygraphSummaryResponse> getPropertygraphSummary(GetPropertygraphSummaryRequest getPropertygraphSummaryRequest) 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.
- Parameters:
getPropertygraphSummaryRequest-- Returns:
- A Java Future containing the result of the GetPropertygraphSummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPropertygraphSummary
default CompletableFuture<GetPropertygraphSummaryResponse> getPropertygraphSummary(Consumer<GetPropertygraphSummaryRequest.Builder> getPropertygraphSummaryRequest) 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.
This is a convenience which creates an instance of the
GetPropertygraphSummaryRequest.Builderavoiding the need to create one manually viaGetPropertygraphSummaryRequest.builder()- Parameters:
getPropertygraphSummaryRequest- AConsumerthat will call methods onGetPropertygraphSummaryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPropertygraphSummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRDFGraphSummary
default CompletableFuture<GetRdfGraphSummaryResponse> getRDFGraphSummary(GetRdfGraphSummaryRequest getRdfGraphSummaryRequest) 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.
- Parameters:
getRdfGraphSummaryRequest-- Returns:
- A Java Future containing the result of the GetRDFGraphSummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRDFGraphSummary
default CompletableFuture<GetRdfGraphSummaryResponse> getRDFGraphSummary(Consumer<GetRdfGraphSummaryRequest.Builder> getRdfGraphSummaryRequest) 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.
This is a convenience which creates an instance of the
GetRdfGraphSummaryRequest.Builderavoiding the need to create one manually viaGetRdfGraphSummaryRequest.builder()- Parameters:
getRdfGraphSummaryRequest- AConsumerthat will call methods onGetRdfGraphSummaryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRDFGraphSummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSparqlStatistics
default CompletableFuture<GetSparqlStatisticsResponse> getSparqlStatistics(GetSparqlStatisticsRequest getSparqlStatisticsRequest) Gets RDF statistics (SPARQL).
- Parameters:
getSparqlStatisticsRequest-- Returns:
- A Java Future containing the result of the GetSparqlStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSparqlStatistics
default CompletableFuture<GetSparqlStatisticsResponse> getSparqlStatistics(Consumer<GetSparqlStatisticsRequest.Builder> getSparqlStatisticsRequest) Gets RDF statistics (SPARQL).
This is a convenience which creates an instance of the
GetSparqlStatisticsRequest.Builderavoiding the need to create one manually viaGetSparqlStatisticsRequest.builder()- Parameters:
getSparqlStatisticsRequest- AConsumerthat will call methods onGetSparqlStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSparqlStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSparqlStream
default CompletableFuture<GetSparqlStreamResponse> getSparqlStream(GetSparqlStreamRequest getSparqlStreamRequest) 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.
GetSparqlStreamlets 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).
- Parameters:
getSparqlStreamRequest-- Returns:
- A Java Future containing the result of the GetSparqlStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- ExpiredStreamException Raised when a request attempts to access an stream that has expired.
- InvalidParameterException Raised when a parameter value is not valid.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- StreamRecordsNotFoundException Raised when stream records requested by a query cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ThrottlingException Raised when the rate of requests exceeds the maximum throughput. Requests can be retried after encountering this exception.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSparqlStream
default CompletableFuture<GetSparqlStreamResponse> getSparqlStream(Consumer<GetSparqlStreamRequest.Builder> getSparqlStreamRequest) 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.
GetSparqlStreamlets 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).
This is a convenience which creates an instance of the
GetSparqlStreamRequest.Builderavoiding the need to create one manually viaGetSparqlStreamRequest.builder()- Parameters:
getSparqlStreamRequest- AConsumerthat will call methods onGetSparqlStreamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSparqlStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- ExpiredStreamException Raised when a request attempts to access an stream that has expired.
- InvalidParameterException Raised when a parameter value is not valid.
- MemoryLimitExceededException Raised when a request fails because of insufficient memory resources. The request can be retried.
- StreamRecordsNotFoundException Raised when stream records requested by a query cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ThrottlingException Raised when the rate of requests exceeds the maximum throughput. Requests can be retried after encountering this exception.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGremlinQueries
default CompletableFuture<ListGremlinQueriesResponse> listGremlinQueries(ListGremlinQueriesRequest listGremlinQueriesRequest) 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).
- Parameters:
listGremlinQueriesRequest-- Returns:
- A Java Future containing the result of the ListGremlinQueries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGremlinQueries
default CompletableFuture<ListGremlinQueriesResponse> listGremlinQueries(Consumer<ListGremlinQueriesRequest.Builder> listGremlinQueriesRequest) 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).
This is a convenience which creates an instance of the
ListGremlinQueriesRequest.Builderavoiding the need to create one manually viaListGremlinQueriesRequest.builder()- Parameters:
listGremlinQueriesRequest- AConsumerthat will call methods onListGremlinQueriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGremlinQueries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLoaderJobs
default CompletableFuture<ListLoaderJobsResponse> listLoaderJobs(ListLoaderJobsRequest listLoaderJobsRequest) Retrieves a list of the
loadIdsfor 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..
- Parameters:
listLoaderJobsRequest-- Returns:
- A Java Future containing the result of the ListLoaderJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLoaderJobs
default CompletableFuture<ListLoaderJobsResponse> listLoaderJobs(Consumer<ListLoaderJobsRequest.Builder> listLoaderJobsRequest) Retrieves a list of the
loadIdsfor 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..
This is a convenience which creates an instance of the
ListLoaderJobsRequest.Builderavoiding the need to create one manually viaListLoaderJobsRequest.builder()- Parameters:
listLoaderJobsRequest- AConsumerthat will call methods onListLoaderJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListLoaderJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLDataProcessingJobs
default CompletableFuture<ListMlDataProcessingJobsResponse> listMLDataProcessingJobs(ListMlDataProcessingJobsRequest listMlDataProcessingJobsRequest) 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.
- Parameters:
listMlDataProcessingJobsRequest-- Returns:
- A Java Future containing the result of the ListMLDataProcessingJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLDataProcessingJobs
default CompletableFuture<ListMlDataProcessingJobsResponse> listMLDataProcessingJobs(Consumer<ListMlDataProcessingJobsRequest.Builder> listMlDataProcessingJobsRequest) 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.
This is a convenience which creates an instance of the
ListMlDataProcessingJobsRequest.Builderavoiding the need to create one manually viaListMlDataProcessingJobsRequest.builder()- Parameters:
listMlDataProcessingJobsRequest- AConsumerthat will call methods onListMlDataProcessingJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMLDataProcessingJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLEndpoints
default CompletableFuture<ListMlEndpointsResponse> listMLEndpoints(ListMlEndpointsRequest listMlEndpointsRequest) 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.
- Parameters:
listMlEndpointsRequest-- Returns:
- A Java Future containing the result of the ListMLEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLEndpoints
default CompletableFuture<ListMlEndpointsResponse> listMLEndpoints(Consumer<ListMlEndpointsRequest.Builder> listMlEndpointsRequest) 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.
This is a convenience which creates an instance of the
ListMlEndpointsRequest.Builderavoiding the need to create one manually viaListMlEndpointsRequest.builder()- Parameters:
listMlEndpointsRequest- AConsumerthat will call methods onListMlEndpointsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMLEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLModelTrainingJobs
default CompletableFuture<ListMlModelTrainingJobsResponse> listMLModelTrainingJobs(ListMlModelTrainingJobsRequest listMlModelTrainingJobsRequest) Lists Neptune ML model-training jobs. See Model training using the
modeltrainingcommand.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.
- Parameters:
listMlModelTrainingJobsRequest-- Returns:
- A Java Future containing the result of the ListMLModelTrainingJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLModelTrainingJobs
default CompletableFuture<ListMlModelTrainingJobsResponse> listMLModelTrainingJobs(Consumer<ListMlModelTrainingJobsRequest.Builder> listMlModelTrainingJobsRequest) Lists Neptune ML model-training jobs. See Model training using the
modeltrainingcommand.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.
This is a convenience which creates an instance of the
ListMlModelTrainingJobsRequest.Builderavoiding the need to create one manually viaListMlModelTrainingJobsRequest.builder()- Parameters:
listMlModelTrainingJobsRequest- AConsumerthat will call methods onListMlModelTrainingJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMLModelTrainingJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLModelTransformJobs
default CompletableFuture<ListMlModelTransformJobsResponse> listMLModelTransformJobs(ListMlModelTransformJobsRequest listMlModelTransformJobsRequest) 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.
- Parameters:
listMlModelTransformJobsRequest-- Returns:
- A Java Future containing the result of the ListMLModelTransformJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMLModelTransformJobs
default CompletableFuture<ListMlModelTransformJobsResponse> listMLModelTransformJobs(Consumer<ListMlModelTransformJobsRequest.Builder> listMlModelTransformJobsRequest) 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.
This is a convenience which creates an instance of the
ListMlModelTransformJobsRequest.Builderavoiding the need to create one manually viaListMlModelTransformJobsRequest.builder()- Parameters:
listMlModelTransformJobsRequest- AConsumerthat will call methods onListMlModelTransformJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListMLModelTransformJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOpenCypherQueries
default CompletableFuture<ListOpenCypherQueriesResponse> listOpenCypherQueries(ListOpenCypherQueriesRequest listOpenCypherQueriesRequest) 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).
- Parameters:
listOpenCypherQueriesRequest-- Returns:
- A Java Future containing the result of the ListOpenCypherQueries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOpenCypherQueries
default CompletableFuture<ListOpenCypherQueriesResponse> listOpenCypherQueries(Consumer<ListOpenCypherQueriesRequest.Builder> listOpenCypherQueriesRequest) 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).
This is a convenience which creates an instance of the
ListOpenCypherQueriesRequest.Builderavoiding the need to create one manually viaListOpenCypherQueriesRequest.builder()- Parameters:
listOpenCypherQueriesRequest- AConsumerthat will call methods onListOpenCypherQueriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListOpenCypherQueries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidNumericDataException Raised when invalid numerical data is encountered when servicing a request.
- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- FailureByQueryException Raised when a request fails.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ParsingException Raised when a parsing issue is encountered.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- TimeLimitExceededException Raised when the an operation exceeds the time limit allowed for it.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- ConcurrentModificationException Raised when a request attempts to modify data that is concurrently being modified by another process.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
managePropertygraphStatistics
default CompletableFuture<ManagePropertygraphStatisticsResponse> managePropertygraphStatistics(ManagePropertygraphStatisticsRequest managePropertygraphStatisticsRequest) 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.
- Parameters:
managePropertygraphStatisticsRequest-- Returns:
- A Java Future containing the result of the ManagePropertygraphStatistics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
managePropertygraphStatistics
default CompletableFuture<ManagePropertygraphStatisticsResponse> managePropertygraphStatistics(Consumer<ManagePropertygraphStatisticsRequest.Builder> managePropertygraphStatisticsRequest) 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.
This is a convenience which creates an instance of the
ManagePropertygraphStatisticsRequest.Builderavoiding the need to create one manually viaManagePropertygraphStatisticsRequest.builder()- Parameters:
managePropertygraphStatisticsRequest- AConsumerthat will call methods onManagePropertygraphStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ManagePropertygraphStatistics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
manageSparqlStatistics
default CompletableFuture<ManageSparqlStatisticsResponse> manageSparqlStatistics(ManageSparqlStatisticsRequest manageSparqlStatisticsRequest) 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.
- Parameters:
manageSparqlStatisticsRequest-- Returns:
- A Java Future containing the result of the ManageSparqlStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
manageSparqlStatistics
default CompletableFuture<ManageSparqlStatisticsResponse> manageSparqlStatistics(Consumer<ManageSparqlStatisticsRequest.Builder> manageSparqlStatisticsRequest) 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.
This is a convenience which creates an instance of the
ManageSparqlStatisticsRequest.Builderavoiding the need to create one manually viaManageSparqlStatisticsRequest.builder()- Parameters:
manageSparqlStatisticsRequest- AConsumerthat will call methods onManageSparqlStatisticsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ManageSparqlStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- StatisticsNotAvailableException Raised when statistics needed to satisfy a request are not available.
- ClientTimeoutException Raised when a request timed out in the client.
- AccessDeniedException Raised in case of an authentication or authorization failure.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ReadOnlyViolationException Raised when a request attempts to write to a read-only resource.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startLoaderJob
default CompletableFuture<StartLoaderJobResponse> startLoaderJob(StartLoaderJobRequest startLoaderJobRequest) 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.
- Parameters:
startLoaderJobRequest-- Returns:
- A Java Future containing the result of the StartLoaderJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- S3Exception Raised when there is a problem accessing Amazon S3.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startLoaderJob
default CompletableFuture<StartLoaderJobResponse> startLoaderJob(Consumer<StartLoaderJobRequest.Builder> startLoaderJobRequest) 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.
This is a convenience which creates an instance of the
StartLoaderJobRequest.Builderavoiding the need to create one manually viaStartLoaderJobRequest.builder()- Parameters:
startLoaderJobRequest- AConsumerthat will call methods onStartLoaderJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartLoaderJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- BadRequestException Raised when a request is submitted that cannot be processed.
- InvalidParameterException Raised when a parameter value is not valid.
- BulkLoadIdNotFoundException Raised when a specified bulk-load job ID cannot be found.
- ClientTimeoutException Raised when a request timed out in the client.
- LoadUrlAccessDeniedException Raised when access is denied to a specified load URL.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- InternalFailureException Raised when the processing of the request failed unexpectedly.
- S3Exception Raised when there is a problem accessing Amazon S3.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMLDataProcessingJob
default CompletableFuture<StartMlDataProcessingJobResponse> startMLDataProcessingJob(StartMlDataProcessingJobRequest startMlDataProcessingJobRequest) Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training. See The
dataprocessingcommand.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.
- Parameters:
startMlDataProcessingJobRequest-- Returns:
- A Java Future containing the result of the StartMLDataProcessingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMLDataProcessingJob
default CompletableFuture<StartMlDataProcessingJobResponse> startMLDataProcessingJob(Consumer<StartMlDataProcessingJobRequest.Builder> startMlDataProcessingJobRequest) Creates a new Neptune ML data processing job for processing the graph data exported from Neptune for training. See The
dataprocessingcommand.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.
This is a convenience which creates an instance of the
StartMlDataProcessingJobRequest.Builderavoiding the need to create one manually viaStartMlDataProcessingJobRequest.builder()- Parameters:
startMlDataProcessingJobRequest- AConsumerthat will call methods onStartMlDataProcessingJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartMLDataProcessingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMLModelTrainingJob
default CompletableFuture<StartMlModelTrainingJobResponse> startMLModelTrainingJob(StartMlModelTrainingJobRequest startMlModelTrainingJobRequest) Creates a new Neptune ML model training job. See Model training using the
modeltrainingcommand.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.
- Parameters:
startMlModelTrainingJobRequest-- Returns:
- A Java Future containing the result of the StartMLModelTrainingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMLModelTrainingJob
default CompletableFuture<StartMlModelTrainingJobResponse> startMLModelTrainingJob(Consumer<StartMlModelTrainingJobRequest.Builder> startMlModelTrainingJobRequest) Creates a new Neptune ML model training job. See Model training using the
modeltrainingcommand.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.
This is a convenience which creates an instance of the
StartMlModelTrainingJobRequest.Builderavoiding the need to create one manually viaStartMlModelTrainingJobRequest.builder()- Parameters:
startMlModelTrainingJobRequest- AConsumerthat will call methods onStartMlModelTrainingJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartMLModelTrainingJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMLModelTransformJob
default CompletableFuture<StartMlModelTransformJobResponse> startMLModelTransformJob(StartMlModelTransformJobRequest startMlModelTransformJobRequest) 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.
- Parameters:
startMlModelTransformJobRequest-- Returns:
- A Java Future containing the result of the StartMLModelTransformJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMLModelTransformJob
default CompletableFuture<StartMlModelTransformJobResponse> startMLModelTransformJob(Consumer<StartMlModelTransformJobRequest.Builder> startMlModelTransformJobRequest) 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.
This is a convenience which creates an instance of the
StartMlModelTransformJobRequest.Builderavoiding the need to create one manually viaStartMlModelTransformJobRequest.builder()- Parameters:
startMlModelTransformJobRequest- AConsumerthat will call methods onStartMlModelTransformJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartMLModelTransformJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- UnsupportedOperationException Raised when a request attempts to initiate an operation that is not supported.
- BadRequestException Raised when a request is submitted that cannot be processed.
- MlResourceNotFoundException Raised when a specified machine-learning resource could not be found.
- InvalidParameterException Raised when a parameter value is not valid.
- ClientTimeoutException Raised when a request timed out in the client.
- PreconditionsFailedException Raised when a precondition for processing a request is not satisfied.
- ConstraintViolationException Raised when a value in a request field did not satisfy required constraints.
- InvalidArgumentException Raised when an argument in a request has an invalid value.
- MissingParameterException Raised when a required parameter is missing.
- IllegalArgumentException Raised when an argument in a request is not supported.
- TooManyRequestsException Raised when the number of requests being processed exceeds the limit.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- NeptunedataException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aNeptunedataAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aNeptunedataAsyncClient.
-